package com.jilujia.domain.blog.event;

import org.springframework.context.ApplicationEvent;

import com.jilujia.domain.blog.Blog;

public class BlogPostEvent extends ApplicationEvent {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3039313222160544111L;

	private Blog blog;

	public BlogPostEvent(Object source) {
		super(source);
	}

	public BlogPostEvent(Object source, Blog blog) {
		super(source);
		this.blog = blog;
	}

	public Blog getBlog() {
		return blog;
	}

}
